#include <iostream>
#include <thread>
#include "netpp.h"
using namespace std;

int main(){
	int resp = 
	HttpPostR(to_gostr("http://127.0.0.1:6140/index"), 
			 to_gostr("miside"),
			 0);
	
	GoString buf{nullptr, 0};
	ReadFromHttpResponse(resp, &buf);
	
	cout << buf.p;
	return 0;
}
